-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CB-5738 api for tokens #3023
CB-5738 api for tokens #3023
Conversation
server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_22.sql
Outdated
Show resolved
Hide resolved
…oken' into CB-5738-te-support-user-access-token
@@ -148,6 +148,13 @@ type UserTeamInfo { | |||
teamRole: String | |||
} | |||
|
|||
type APITokenInfo @since(version: "24.2.4") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to a separate plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and create separate model for create/list requests
type APITokenInfo @since(version: "24.2.4") { | ||
tokenName: String! | ||
token: String | ||
periodDays: Int! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expiredAt/expirationTime/etc instead of period
server/bundles/io.cloudbeaver.service.security/db/cb_schema_update_22.sql
Show resolved
Hide resolved
@@ -67,7 +67,7 @@ export function useAuthDialogState(accessRequest: boolean, providerId: string | | |||
const providers = authProvidersResource.data.filter(notEmptyProvider).sort(compareProviders); | |||
|
|||
const activeProviders = providers.filter(provider => { | |||
if (provider.federated || provider.trusted || provider.private) { | |||
if (provider.federated || provider.trusted || provider.private || provider.authHidden) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why we can't use private? or trusted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private does not fit here due to the fact we won't see the setting in the server config
trusted does not fit also here, but not sure why - the backend said so
we had a call with all of the flags which can fit to our needs, so we decided to extend the scheme cause there was no best candidate to fit our needs
No description provided.